package com.gress.shop.constants;

/**
 * Created by xiongwen on 2017/12/6.
 */
public class PopConstants {


    /** 统一刷新页面时触发效验code
     *
     *进入弹出框验证
     * <br>
     * if (''!='$!backCode.type'){<br>
     if ('error' =='$!backCode.getType()'){ <br>
     toastr.error('$!backCode.getText()', '$!backCode.getType()'); <br>
     }* <br>
     if ('success' =='$!backCode.getType()'){* <br>
     toastr.success('$!backCode.getText()', '$!backCode.getType()');<br>
     } <br>
     if ('warning' =='$!backCode.getType()'){* <br>
     toastr.warning('$!backCode.getText()', '$!backCode.getType()'); <br>
     } <br>
     * */
    public final static String backCode = "backCode";

    /**
     * 点击弹框
     * */
    public final static String swalCode = "swalCode";


    /**返回码*/
    public final static String SUCCESS = "success";
    public final static String ERROR = "error";
    public final static String WARNING = "warning";

    /** 返回title*/
    public final static String OP_SUCCESS = "O K";
    public final static String OP_ERROR = "ERROR ";
    public final static String OP_WARNING = "WARNING";



    public final static String RPC_ERROR = "RPC 调用异常";
    public final static String HTML_PARAM_ERROR = "前台传参错误!";


    public final static String DELETE_WARN = "删除后将无法恢复，请谨慎操作";
    public final static String PARAM_WARN = "入参错误";









}
